package com.qf.feign;

import com.qf.pojo.R;
import com.qf.service.OrderService;
import org.springframework.stereotype.Component;

@Component
public class OrderFallback implements OrderFeignApi {
    //返回降级的数据
    @Override
    public R findByUid(Integer id) {
        return R.error().putMsg("feign 降级...");
    }
}
